package com.glodon.paas.document.storage.id;

import com.glodon.paas.document.storage.util.DigestState;

public class ObjectResult {

    private String objectId;
    private long length;
    private DigestState digestState;

    public ObjectResult(String id, long length) {
        this.objectId = id;
        this.length = length;
    }

    public ObjectResult(String objectId, long length, DigestState digestState) {
        this(objectId, length);
        this.digestState = digestState;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public DigestState getDigestState() {
        return digestState;
    }

    public void setDigestState(DigestState digestState) {
        this.digestState = digestState;
    }
}
